package com.grj.parking.a;

import com.grj.parking.domain.ParkingRecord;
import com.grj.parking.domain.Vehicle;

public interface ParkingService {

    void checkParkingLot(Long lotId) throws Exception;

    Vehicle checkPlate(String carNum) throws Exception;

    void checkOrder(String carNum);

    void allocateParkingSpace(Long lotId, Vehicle  vehicle);


    ParkingRecord checkEntryOrder(String carNum) throws Exception;

    ParkingRecord calculateParkingFees(ParkingRecord parkingRecord);

    void issueOpenGateCommand(ParkingRecord parkingRecord);

}
